package com.lg.wxq.utils;

import android.view.animation.AlphaAnimation;
import android.view.animation.Animation.AnimationListener;

public class AnimationUtils {
	public static AlphaAnimation getAlphaAnimation(float fromAlpha,
			float toAlpha, long durationMillis, AnimationListener listener) {
		AlphaAnimation aa = new AlphaAnimation(fromAlpha, toAlpha);
		aa.setDuration(durationMillis);
		aa.setAnimationListener(listener);
		return aa;
	}
}
